<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@taglib uri="/WEB-INF/struts-html.tld" prefix="html"%>

<html:form action="register/registeraction">
<input type="hidden" name="steptype" value="3"/>
<div id="regright">
<table>
  <tr>
    <td class="textright"> 近三年财务状况：</td>
    <td colspan="2"><html:textarea property="businessinfo"  cols="30" rows="3" onblur="onblurdo(this)" value="${message.businessinfo}" style="color:black;font-size:12px;">
    </html:textarea>
      <span class="f-12-F60000">*</span></td>
    <td>含各年营业收入、净<br />利润、资产负债比</td>
  </tr>
  <tr>
    <td class="textright">主要客户群及占销售比例情况：</td>
    <td colspan="2"><html:textarea property="customer"  cols="30" rows="3" onblur="onblurdo(this)" value="${message.customer}" style="color:black;font-size:12px;"></html:textarea>
      <span class="f-12-F60000">*</span></td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td class="textright"> 本产品的主流型号及市场价格：</td>
    <td colspan="2"><html:textarea property="product"  cols="30" rows="3" onblur="onblurdo(this)" value="${message.product}" style="color:black;font-size:12px;"></html:textarea>
      <span class="f-12-F60000">*</span></td>
    <td>&nbsp;</td>
  </tr>
  
  <tr>
    <td class="textright"> 全国售后服务网络：</td>
    <td colspan="2"><html:textarea property="sales_ablity_desc"  cols="30" rows="3" onblur="onblurdo(this)" value="${message.sales_ablity_desc}" style="color:black;font-size:12px;"></html:textarea>
      <span class="f-12-F60000">*</span></td>
    <td>需附件清单，自有分支<br />机构或代理机构需分<br />别注明，可通过“文<br />档上传”上传附件清单</td>
  <tr>
    <td class="textright"> 所属行业水平及外部评价情况（如有）：</td>
    <td colspan="2"><html:textarea property="judge"  cols="30" rows="3" onblur="onblurdo(this)" value="${message.judge}" style="color:black;font-size:12px;"></html:textarea>
      </td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td class="textright"> 公司管理情况，如外部认证、认可证书等：</td>
    <td colspan="2"><html:textarea property="manage_sitation"  cols="30" rows="3" onblur="onblurdo(this)" value="${message.manage_sitation}" style="color:black;font-size:12px;"></html:textarea>
      <span class="f-12-F60000">*</span></td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td class="textright"> 风险管理能力（含突发事件应对能力）：</td>
    <td colspan="2"><html:textarea property="danger_manage"  cols="30" rows="3" onblur="onblurdo(this)" value="${message.danger_manage}" style="color:black;font-size:12px;"></html:textarea>
      <span class="f-12-F60000">*</span></td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td colspan="4" class="f-12-F60000">提示：带“*”的为必填信息；若界面显示不全面，请先设置IE浏览器到兼容性视图，具体操作请见首页相关操作手册。</td>
    </tr>
  <tr>
    <td colspan="4" class="center">
    <img style="cursor:hand" src="../images/up.jpg" width="60" height="20" onclick="up(2)"/>&nbsp;&nbsp;<img style="cursor:hand" src="../images/next.jpg" width="60" height="20" border="0" onclick="onclicksubmit()"/>&nbsp;&nbsp;<img style="cursor:hand" src="../images/reset.jpg" width="60" height="20" onclick="reset()"/></td>
    </tr>
</table>
</div>
</html:form>
<script language="javascript">

function up(index)
{
	window.location.href = "/portal/register/registeraction.do?uptype="+index;
}
	function reset()
	{
		document.registerForm.reset();
	}
	
	function onclicksubmit()
	{
	var formtemp = document.registerForm;
	
	if(formtemp.businessinfo.value == '')
	{
		formtemp.businessinfo.style.backgroundColor="#ffaa44";
		return;
	}else if(formtemp.customer.value == '')
	{
		formtemp.customer.style.backgroundColor="#ffaa44";
		return;
	}else if(formtemp.product.value == '')
	{
		formtemp.product.style.backgroundColor="#ffaa44";
		return;
	}else if(formtemp.sales_ablity_desc.value == '')
	{
		formtemp.sales_ablity_desc.style.backgroundColor="#ffaa44";
		return;
	}else if(formtemp.manage_sitation.value == '')
	{
		formtemp.manage_sitation.style.backgroundColor="#ffaa44";
		return;
	}else if(formtemp.danger_manage.value == '')
	{
		formtemp.danger_manage.style.backgroundColor="#ffaa44";
		return;
	}
	
		formtemp.submit();
	}
	
	
	function onblurdo(obj)
	{
		if(obj.value == '' )
		{
			obj.style.backgroundColor="#ffaa44";
		}else
		{
			obj.style.backgroundColor="#ffffff";
		}
	}
</script>

